#include<iostream>
#include<vector>
using namespace std;

int main()
{
	int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
	vector<int> s(arr,arr+4);
	for (auto ch : s)
	{
		cout << ch << " ";
	}
	cout << endl;

	return 0;
}